# Maintainer: Alexey Pavlov <alexpux@gmail.com>

_realname=ExtUtils-PkgConfig
pkgname=perl-${_realname}
pkgver=1.15
pkgrel=2
pkgdesc="The Perl Pkgconfig module"
arch=(any)
license=('LGPL')
url="http://gtk2-perl.sourceforge.net/"
groups=('perl-modules')
depends=('perl>=5.10.0')
source=(http://downloads.sourceforge.net/sourceforge/gtk2-perl/${_realname}-${pkgver}.tar.gz)
md5sums=('1872e659cf2bb0b2471d75fce735e622')
options=('!emptydirs')

build() {
  cd ${_realname}-${pkgver}
  perl Makefile.PL INSTALLDIRS=vendor
  make
}

check() {
  cd ${_realname}-${pkgver}
  make test
}

package() {
  cd ${_realname}-${pkgver}
  make DESTDIR="${pkgdir}" install
}
